package cn.buyclss.backend.mapper.shop;

import cn.buyclss.backend.entity.domain.shop.Custom;
import cn.buyclss.backend.entity.domain.shop.CustomExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomMapper {
    /**
     *
     * @mbg.generated 2019-03-11
     */
    long countByExample(CustomExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int deleteByExample(CustomExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int insert(Custom record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int insertSelective(Custom record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    List<Custom> selectByExample(CustomExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    Custom selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByExampleSelective(@Param("record") Custom record, @Param("example") CustomExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByExample(@Param("record") Custom record, @Param("example") CustomExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByPrimaryKeySelective(Custom record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByPrimaryKey(Custom record);
}